package org.fengling.readingplatform.model.entity.order;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.fengling.readingplatform.model.entity.base.BaseEntity;

import java.math.BigDecimal;

@Data
@Schema(description = "分类实体类")
public class OrderInfo extends BaseEntity {

    @Schema(description = "用户标号")
    Long userId;

    @Schema(description = "用户昵称")
    String nickName;

    @Schema(description = "订单标号")
    String orderNo;

    @Schema(description = "订单总额")
    private BigDecimal totalAmount;

    @Schema(description = "支付方式【1->微信】")
    private Integer payType;
}